<%= simple_form_for [:admin]+association_chain+[resource], :html => { :class => 'form-horizontal', :multipart => true } do |f| %>
  <%= render :partial=>"form_fields",locals:{f:f} %>
  <%= render :partial=>"form_actions",:locals=>{f: f, resource: resource} %>
<% end %>